home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11354 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.crystalball.com!news
  2. From: Larry Weiss <lfw@oc.com>
  3. Newsgroups: comp.sources.wanted,comp.lang.c,comp.unix.programmer
  4. Subject: Re: Seek unix2dos.c OR help with tr
  5. Date: Tue, 19 Mar 1996 09:45:59 -0600
  6. Organization: crystalball.com
  7. Message-ID: <314ED6B7.6DFA@oc.com>
  8. References: <4i0946$7io@nuke.csu.net> <danpop.826545577@rscernix> <4i9dj4INN7kl@keats.ugrad.cs.ubc.ca> <4ia0kj$d8s@solutions.solon.com> <31488F4F.726E@oc.com> <danpop.826917054@rscernix>
  9. NNTP-Posting-Host: external.oc.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. Dan Pop wrote:
  16.  > 
  17.  > Moreover, 0x1f is not a magic number _in this context_ any more than 2
  18.  > is a magic number in a binary search algorithm or 3.1415926 is a magic
  19.  > number when computing the circumference of a circle.  All of them are
  20.  > natural constants.  They're self-documenting and aren't expected to be
  21.  > changed later, by the code maintainer.
  22.  > 
  23.  
  24. Dan, earlier you did not indicate any "definition" for "magic numbers"
  25. other than to accept the rule that any numeric literal other than 0
  26. needed to be given a name.   
  27.  
  28. Now I understand that we are in perfect agreement on this topic! 
  29.  
  30. Thanks for the clarity!
  31.